<header class="header">
	<div class="return" id="return_credit">
		<img src="images/ret_03.jpg" alt="">
		<a href="javascript:void(0);" class="back">返回</a>
	</div>
	<h2 class="air_title">我的积分</h2>
	<div class="air_cle"></div>
</header>

<div class="jf_main">
	<div class="jf_banner" id="jfbanner_credit">
		<img src="images/jf_ban.png" alt="">
		<div class="my_credit">
			<h3 id="totalPoint_credit">0</h3>
			<p>积分结余 (分)</p>
		</div>
	</div>
	<div class="iscrollListContent" id="iscrollContent_credit" style="top:7.6rem;">
		<div class="jf_list" id="showNodata_credit">
			<ul class="jf_detail" id="main_credit">
			</ul>
		</div>
	</div>
</div>

<script id="creditTemplate" type="text/html">

	<% for(var i=0;i<data.list.length;i++){ if(data.list[i].point=="0")continue;%>
	<li>
		<span class="Jf_list_left">
						<img src="images/type<%=data.list[i].typeCode%>.png" alt="">
					</span>
		<span class="Jf_list_center">
						<h3><%=data.list[i].type%></h3>
						<span class="jf_time"><%=data.list[i].time%></span>
		</span>
		<%if(formatPoint(data.list[i].point)>0){%>
		<span class="Jf_list_right Jf_list_right_add"><%=data.list[i].point%></span>
		<%}else{%>
		<span class="Jf_list_right Jf_list_right_del"><%=data.list[i].point%></span>
		<%}%>
	</li>
	<%}%>

</script>